package javaLanguage;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
import java.net.Inet4Address;
import java.util.*;
import java.util.concurrent.*;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.locks.ReentrantLock;

public class trySomething {
    private int[] a = new int[2];

    public static void main(String[] args) throws InstantiationException, IllegalAccessException {
        System.out.printf("%d\n", new trySomething().setA(5));
    }
    private static int[] array = {1, 2,23,34,1213,3423, 234, 23, 1, 4,6};
    public static void quickSort(int left, int right) {
        if(left >= right) return;
        int l = left, r = right;
        int target = array[left];
        while(l < r) {
            while(l < r && target < array[r]) r--;
            if(l < r) array[l++] = array[r];
            while(l < r && target > array[l]) l ++;
            if(l < r) array[r--] = array[l];
        }
        array[l] = target;
        quickSort(left, l-1);
        quickSort(l+1, right);
    }

    public int setA(int a){
        this.a[0] = a;
        return this.a[1] = a;
    }

}


interface hs{
    void get();
}